import ReactDOM from 'react-dom'
import App from './App'
import store from './store'
// !#1 引入 Provider
import { Provider } from 'react-redux'

// !#2 用 Provider 包裹整个应用，并传递 store
ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.querySelector('#root')
)
